<template>
  <div>
    child <br /><br /><br />
    url is {{ value }} <br /><br /><br />
    <button @click="changeValue">更改值，并且传递给父组件</button>
  </div>
</template>

<script>
export default {
  name: 'ChildVModel',
  props: ['value'],
  methods: {
    changeValue() {
      this.$emit('input', 'http://www.jd.com')
    }
  }
}
</script>
